<img id="pic" onclick="kaideng()" src="pic_bulboff.gif" />
<script>
function kaideng(){
  pic.src="pic_bulbon.gif";
}
</script>